<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="css/bootstrap.css"/>
    <link rel="stylesheet" type="text/css" href="css/bootstrap-responsive.css"/>
    <link rel="stylesheet" type="text/css" href="css/style.css"/>
    <%--<script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/jquery.sorted.js"></script>--%>
    <script type="text/javascript" src="js/bootstrap.js"></script>
    <script type="text/javascript" src="js/ckform.js"></script>
    <script type="text/javascript" src="js/common.js"></script>
    <script type="text/javascript" src="js/showdate.js"></script>
    <script src="js/jquery.min.js?v=2.1.4"></script>
    <style type="text/css">
        body {
            font-size: 20px;
            padding-bottom: 40px;
            background-color: #e9e7ef;
            font-size: 17px;
        }

        .sidebar-nav {
            padding: 9px 0;
        }

        @media (max-width: 980px) {
            /* Enable use of floated navbar text */
            .navbar-text.pull-right {
                float: none;
                padding-left: 5px;
                padding-right: 5px;
            }
        }
    </style>
</head>
<h3><strong>基本信息：</strong></h3>
<table class="table table-condensed">
    <tr>
        <td width="18%" height="30" align="center">用 户 名：</td>
        <td width="82%" class="word_grey" id="uname"></td>
    </tr>
    <tr>
        <td width="18%" height="30" align="center">真实姓名：</td>
        <td width="82%" class="word_grey" id="truename"></td>
    </tr>
    <tr>
        <td height="28" align="center">密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
        <td height="28" id="upw"></td>
    </tr>
    <tr>
        <td height="28" align="center">用户类型：</td>
        <td height="28" id="utype"></td>
    </tr>
    <tr>
        <td height="28" align="center">E-mail：</td>
        <td height="28" id="email"></td>
    </tr>

    <tr>
        <td height="28" align="center">创建时间：</td>
        <td height="28" id="utime"></td>
    </tr>
</table>

<script type="text/javascript">

    function findUser() {
        $.get("user/findUser?uid=" +${param.uid}, function (result) {
            // alert(result.uname)
            $("#uname").text(result.user.uname);
            $("#truename").text(result.user.truename);
            $("#upw").text(result.user.upass);
            $("#utype").text(result.role.rolename);
            $("#email").text(result.user.email);
            $("#utime").text(result.user.utime);
        })
    }

    $(function () {
        //查询该博客的基本信息
        findUser();
    });
</script>
</body>
</html>
